/*
 * Copyright (c) 2006, 2022, webrx.cn All rights reserved.
 *
 */
package cn.webrx;

import java.time.Duration;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.time.Period;

/**
 * <p>Project: jse2204 - T
 * <p>Powered by webrx On 2022-08-30 08:46:12
 *
 * @author webrx [webrx@126.com]
 * @version 1.0
 * @since 17
 */
public class T {
    int i;

    void abc() {

    }

    public static void main(String[] args) {

        LocalDateTime a = LocalDateTime.of(1985,3,15,0,0,0);//开始日期
        LocalDateTime n = LocalDateTime.now();//现在系统日期
        Duration d = Duration.between(a,n);
        System.out.println(d.toDays());//13683



    }
}
